<script lang="ts" setup>
import {MinusOutlined, CloseOutlined} from "@ant-design/icons-vue"
function close(){
  aardio.close()
}
function min(){
  aardio.min()
}
</script>

<template>
  <div class="app-act-btn-box">
    <a-space size="small">
      <div class="act-btn"  @click="min">
        <MinusOutlined/>
      </div>
      <div class="act-btn close"  @click="close">
        <CloseOutlined/>
      </div>
    </a-space>
  </div>
</template>

<style lang="less" scoped>
.app-act-btn-box {
  position: absolute;
  z-index: 99;
  top: 0;
  right: 0;
  cursor: pointer;
  .act-btn{
    color: #8c8c8c;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    &:hover{
      background: #d0d0d0;
      color: #000;
    }
    &.close:hover{
      background: #e81123;
      color: #fff;
    }
  }
}
</style>
